package com.wandian.texas.command.texas;

import com.wandian.texas.BaseCommandObject;
import com.wandian.texas.CommandObject;
import com.wandian.command.Cmd;
import com.wandian.command.UserCommand;
import com.wandian.util.Log;
import com.wandian.util.ProtoBufUtil;

@Cmd(code = 10, desc = "")
public class UserInfoCmd extends UserCommand {

	@Override
	public void execute(BaseCommandObject cmdObject) {
		super.execute(cmdObject);
		String msgString = ProtoBufUtil.getInstance().decode(cmdObject.dataPacket.byteBuffer);
		Log.debug("execute UserInfoCmd over, cmd id: " + cmdObject.getCmd() + " ,msg:" + msgString);
//		SessionMgrImp.getInstance().SendData(cmdObject.sessionObject, ProtoBufUtil.getInstance().encode("UserInfoCmd receive cmd:" + cmdObject.getCmd() + " .msg:" + msgString), cmdObject.getCmd());
	}

}
